home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / sound / audioconverter / audioconvert.r < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.3 KB  |  37 lines

  1. #include "Dialogs.r"
  2.  
  3.  
  4.  
  5. #define rCustomGetFileDialog    1000                // resource ID for Std File DLOG and DITL
  6.  
  7.  
  8.  
  9. //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  10. // custom put file dialog
  11.  
  12. resource 'DLOG' (rCustomGetFileDialog, purgeable) {
  13.     {0, 0, 228, 344}, dBoxProc, invisible, noGoAway, 0,    
  14.     rCustomGetFileDialog, "", noAutoCenter
  15. };
  16.  
  17. resource 'DITL' (rCustomGetFileDialog, purgeable) {
  18.     {
  19. /* [1] */    {161, 252, 181, 332}, Button {enabled, "Save"},
  20. /* [2] */     {130, 252, 150, 332}, Button {enabled, "Cancel"},
  21. /* [3] */     {0, 0, 0, 0}, HelpItem {disabled, HMScanhdlg {-6043}},
  22. /* [4] */     {8, 235, 24, 337}, UserItem {enabled},
  23. /* [5] */     {32, 252, 52, 332}, Button {enabled, "Eject"},
  24. /* [6] */     {60, 252, 80, 332}, Button {enabled, "Desktop"},
  25. /* [7] */     {29, 12, 127, 230}, UserItem {enabled},
  26. /* [8] */     {6, 12, 25, 230}, UserItem {enabled},
  27. /* [9] */     {119, 250, 120, 334}, Picture {disabled, 11},
  28. /* [10] */     {157, 15, 173, 227}, EditText {enabled, ""},
  29. /* [11] */     {136, 15, 152, 227}, StaticText {disabled, "Save as:"},
  30. /* [12] */     {88, 252, 108, 332}, UserItem {disabled},
  31. /* [13] */     {186, 100, 204, 230}, RadioButton {enabled, "AIFF"},
  32. /* [14] */     {206, 100, 224, 230}, RadioButton {enabled, "QuickTime Movie"},
  33. /* [15] */     {195, 13, 210, 93}, StaticText {disabled, "File Format:"}
  34.     }
  35. };
  36.  
  37.